package the_Crash.Stylists;

import java.awt.Color;

import repast.simphony.visualizationOGL2D.DefaultStyleOGL2D;
import saf.v3d.scene.VSpatial;

public class StreetCellStylist extends DefaultStyleOGL2D {
	
	
	@Override
	public VSpatial getVSpatial(Object agent, VSpatial spatial) {		
		if (spatial == null) {
			
			spatial = shapeFactory.createRectangle(SharedSizing.cellSize, SharedSizing.cellSize);
		}
		return spatial;
	}
	
	@Override
	public Color getColor(Object agent) {
		return Color.black;
	}

}
